Repository navigation
fix(github): Retry a timed-out gh auth token lookup - #6201
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 17, 2026 18:42
dan-petty
enabled auto-merge (squash)
November 17, 2026 18:42
dan-petty
pushed a commit
that referenced
this pull request
Nov 17, 2026
🤖 I have created a release *beep* *boop* --- ## [0.173.3](v0.173.2...v0.173.3) (2026-11-17) ### Bug Fixes * **ci:** Let npm audit ignore a no-fix finding until a date ([#6205](#6205)) ([b1a0266](b1a0266)) * **ci:** Show the row name in every gate row line ([#6188](#6188)) ([319cdb8](319cdb8)) * **git:** Give the branch-current fetch a 24 second limit ([#6190](#6190)) ([a116fa2](a116fa2)) * **github:** Retry a timed-out gh auth token lookup ([#6201](#6201)) ([ffa602f](ffa602f)) * **roadmap:** Keep the alternatives result in the body block only ([#6208](#6208)) ([6cb6e23](6cb6e23)) * **roadmap:** Leave other job comments out of the alternatives request ([#6192](#6192)) ([e6f5718](e6f5718)) * **roadmap:** One plan-state comment for each plan PR ([#6209](#6209)) ([32a0df2](32a0df2)), closes [#6197](#6197) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The token lookup gives gh auth token 5 seconds. On a loaded host the start of gh alone can take longer, so a valid login reads as not authenticated and the command stops with no retry. The lookup now makes a second attempt after a timeout, keeps the same 5 second limit, and does not retry an OSError or a nonzero exit. The process keeps a token that the retry finds.
Closes #4940
Change:
openspec/changes/archive/2026-11-17-4940-slow-gh-auth-token-on-a-loaded-host/